From 5970dac1679d9b7ea3aa6feae1d7520dd235c166 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 17 Feb 2018 16:43:21 +0100 Subject: [PATCH] build: Switch order of subdirectories This makes demos be compiled/linked before tests. And that means that while hacking, I can already run widget-factory when the tests are still linking. --- meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index d50d2f222e..68fce04f46 100644 --- a/meson.build +++ b/meson.build @@ -593,14 +593,14 @@ subdir('gdk') subdir('gsk') subdir('gtk') subdir('modules') -if get_option('build-tests') - subdir('tests') - subdir('testsuite') -endif if get_option('demos') subdir('demos') subdir('examples') endif +if get_option('build-tests') + subdir('tests') + subdir('testsuite') +endif # config.h configure_file(input: 'config.h.meson', -- 2.30.2